<template>
	<view>
		<u-mask :show="value" @click="onMask">
			<view class="main">
				<view class="flex-col">
					<image src="../../static/images/close.png" class="self-end" style="width: 56rpx;height: 56rpx;"></image>
					<image src="../../static/images/new.png" style="width: 600rpx;height: 676rpx;" mode="" @click="$goto('/pages/activity/newusergift')"></image>
				</view>
			</view>
		</u-mask>
	</view>
</template>

<script>
	export default {
		props: {
			value: {
				type: Boolean,
				default: false
			}
		},
		data() {
			return {
				
			};
		},
		methods: {
			onMask() {
				this.$emit('onmask')
			}
		}
	}
</script>

<style lang="scss">
	.main {
		width: 100%;
		height: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
	}
</style>
